5
|
How do I put a picture on the control's background
(axScrollBar1.GetOcx() as EXSCROLLBARLib.ScrollBar).Picture = (axScrollBar1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)") as stdole.IPictureDisp);
axScrollBar1.set_VisiblePart(EXSCROLLBARLib.PartEnum.exBackgroundPart,false);
(axScrollBar1.GetOcx() as EXSCROLLBARLib.ScrollBar).BackColor = 0x80000004;
|
4
|
How can I change the size of control's font
axScrollBar1.Font.Size = 12;
axScrollBar1.ForeColor = Color.FromArgb(255,0,0);
axScrollBar1.set_Caption(EXSCROLLBARLib.PartEnum.exThumbPart,"<img>0</img>thumb");
|
3
|
How do I change the control's font
axScrollBar1.Font.Name = "Tahoma";
axScrollBar1.ForeColor = Color.FromArgb(255,0,0);
axScrollBar1.set_Caption(EXSCROLLBARLib.PartEnum.exThumbPart,"<img>0</img>thumb");
|
2
|
How can I change the control's foreground color
axScrollBar1.ForeColor = Color.FromArgb(255,0,0);
axScrollBar1.set_Caption(EXSCROLLBARLib.PartEnum.exThumbPart,"<img>0</img>thumb");
|
1
|
How can I change the control's background color
axScrollBar1.BackColor = Color.FromArgb(0,255,0);
axScrollBar1.set_VisiblePart(EXSCROLLBARLib.PartEnum.exBackgroundPart,false);
|